package com.coconet.gas.vo.dw;

import java.io.Serializable;
import javax.persistence.*;

@Table(name = "recordnewandgroup")
public class Recordnewandgroup implements Serializable {
    @Id
    private Integer id;

    /**
     * 组id
     */
    private Integer groupid;

    /**
     * 网站id
     */
    private Integer recordnewid;

    private static final long serialVersionUID = 1L;

    /**
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取组id
     *
     * @return groupid - 组id
     */
    public Integer getGroupid() {
        return groupid;
    }

    /**
     * 设置组id
     *
     * @param groupid 组id
     */
    public void setGroupid(Integer groupid) {
        this.groupid = groupid;
    }

    /**
     * 获取网站id
     *
     * @return recordnewid - 网站id
     */
    public Integer getRecordnewid() {
        return recordnewid;
    }

    /**
     * 设置网站id
     *
     * @param recordnewid 网站id
     */
    public void setRecordnewid(Integer recordnewid) {
        this.recordnewid = recordnewid;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", groupid=").append(groupid);
        sb.append(", recordnewid=").append(recordnewid);
        sb.append("]");
        return sb.toString();
    }
}